﻿using BCCommon.Extensions;
using BCCommon.TMS.Transport;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BCDto.TMS.VehicleTransportBusinessConfig
{
    /// <summary>
    /// 车辆运输业务配置添加模型
    /// </summary>
    public class VehicleTransportBusinessConfigRequestDto
    {
        /// <summary>
        /// 运输业务
        /// </summary>
        [Display(Name = "运输业务")]
        [Required(ErrorMessage = "{0} 为必填项")]
        public TransportBusinessType TransportBusiness { get; set; }

        /// <summary>
        /// 运输业务顺序
        /// </summary>
        [Display(Name = "运输业务顺序")]
        [Required(ErrorMessage = "{0} 为必填项")]
        public int BusinessOrder { get; set; }

        /// <summary>
        /// 业务描述
        /// </summary>
        [Display(Name = "业务描述")]
        [Required(ErrorMessage = "{0} 为必填项")]
        public string Remark { get; set; }

        /// <summary>
        /// 同城计费模式
        /// </summary>
        [Display(Name = "同城计费模式")]
        public TransportSameCityChargingMode? SameCityChargingMode { get; set; }
        /// <summary>
        /// 同城途经点附加费金额
        /// </summary>
        [Display(Name = "同城途经点附加费金额")]
        public decimal? SameCityPointSurchargeAmount { get; set; }

    }
}
